package com.myPackage;

import org.springframework.web.client.RestTemplate;

/**
 * @ClassName HttpTest
 * @Description TODO
 * @Author star
 * @Date 2023/9/22 11:19
 */
public class HttpTest {
    public static void main(String[] args) {
        RestTemplate restTemplate = new RestTemplate();
        String url = "http://192.168.3.3:8280/api/v1/hwpd-server/devices/list";
        String str = restTemplate.getForObject(url, String.class);
        System.out.println(str);


        String name = "123";
    }



}
